package com.git.smp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.git.smp.entity.SmpService;
import com.git.smp.entity.SmpServiceExtend;
import com.git.smp.entity.SmpServiceKey;

public interface SmpServiceMapper {
    int deleteByPrimaryKey(SmpServiceKey key);

    int insert(SmpService record);

    int insertSelective(SmpService record);

    SmpService selectByPrimaryKey(SmpServiceKey key);

    int updateByPrimaryKeySelective(SmpService record);

    int updateByPrimaryKey(SmpService record);
    
	List<SmpServiceExtend> getServiceByPage(SmpServiceExtend smpServiceExtend);
	
	List<SmpServiceExtend> selectreport(SmpService smpService);
	
	SmpService getServiceInfo(SmpService smpService);        
	
	int selectByCount (SmpService record);
	
	int selectAllByCount();
    
    int selectInByCount();
    
    int selectOutByCount();

	int updateStatusByQmsNo(SmpService smpService);
	
    int getCountBySystemNo(@Param("systemNo") String systemNo);
    
    int updateTransCodeByPrimaryKey(SmpServiceExtend smpServiceExtend);

	List<SmpService> selectAll(SmpService service);
    
}